package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Wallet;

import java.util.List;

public interface WalletMapper {
    void deleteByPrimaryKey(Integer id);

    void insert(Wallet record);

    Wallet selectByPrimaryKey(Integer id);

    List<Wallet> selectAll();

    void updateByPrimaryKey(Wallet record);

    Wallet getBalanceByUserId(Long id);

    void updateBalance(Wallet wallet);
}